var runtime.mutexprofilerate
8 uses
runtime (current package)
lock_spinbit.go#L330: if rate := int64(atomic.Load64(&mutexprofilerate)); rate <= 0 {
mprof.go#L781: rate := int64(atomic.Load64(&mutexprofilerate))
mprof.go#L819: var mutexprofilerate uint64 // fraction sampled
mprof.go#L830: return int(mutexprofilerate)
mprof.go#L832: old := mutexprofilerate
mprof.go#L833: atomic.Store64(&mutexprofilerate, uint64(rate))
mprof.go#L842: rate := int64(atomic.Load64(&mutexprofilerate))
sema.go#L173: if profile&semaMutexProfile != 0 && mutexprofilerate > 0 {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)